package com.css.fxfzmhwz.login.security;

import com.css.fxfzmhwz.base.user.repository.entity.CertificationEntity;

/**
 *
 * @author lixiaofeng
 * @date 2020/4/18
 */
public interface SecretKeyRuleService {


    CertificationEntity encryption(CertificationEntity certificationEntity, String password) ;
    boolean check(CertificationEntity certificationEntity, String password) ;


   boolean check(String ciphertext, String password, String salt) ;
}
